







<div class="x-body">
  <form class="layui-form form_single" action="{:url()}" method="post">


    {switch name="param.type"}
    {case value="1"}
      <div class="layui-form-item">
        <label for="money" class="layui-form-label">
          充值金额添加
        </label>
        <div class="layui-input-inline">
          <input type="number" id="money" name="money"
                 autocomplete="off" class="layui-input">
        </div>
        <div class="layui-form-mid layui-word-aux">
          ( 充值金额添加)
        </div>
      </div>
    {/case}
    {case value="2"}
    <div class="layui-form-item">
      <label for="money" class="layui-form-label">
        盈利金额添加
      </label>
      <div class="layui-input-inline">
        <input type="number"  name="money"
               autocomplete="off" class="layui-input">
      </div>
      <div class="layui-form-mid layui-word-aux">
        ( 盈利金额添加)
      </div>
    </div>
    {/case}
    {case value="3"}
    <div class="layui-form-item">
      <label for="money" class="layui-form-label">
        委托金额添加
      </label>
      <div class="layui-input-inline">
        <input type="number"  name="money"
               autocomplete="off" class="layui-input">
      </div>
      <div class="layui-form-mid layui-word-aux">
        ( 委托金额添加)
      </div>
    </div>
    {/case}
    {case value="4"}
    <div class="layui-form-item">
      <label for="money" class="layui-form-label">
        提现金额添加
      </label>
      <div class="layui-input-inline">
        <input type="number"  name="money"
               autocomplete="off" class="layui-input">
      </div>
      <div class="layui-form-mid layui-word-aux">
        ( 提现金额添加)
      </div>
    </div>
    {/case}

    {/switch}


    <div class="layui-form-item">
      <label for="create_time" class="layui-form-label">
        添加时间
      </label>
      <div class="layui-input-inline">
        <input type="text" id="create_time" name="create_time"
               autocomplete="off" class="layui-input">
      </div>
      <div class="layui-form-mid layui-word-aux">
        (添加时间)
      </div>
    </div>

    <div class="box-footer">

      <input type="hidden" name="id" value="{:input('id')}"/>
      <input type="hidden" name="type" value="{:input('type')}"/>
      {include file="layout/edit_btn_group"/}

    </div>

  </form>
</div>



<script type="text/javascript">
  layui.use('laydate', function(){
    var laydate = layui.laydate;

    //执行一个laydate实例
    laydate.render({
      elem: '#create_time' //指定元素
      ,type: 'datetime'
    });


  });

  ob.setValue("is_hide", {$info.is_hide|default=0});
  ob.setValue("is_shortcut", {$info.is_shortcut|default=0});
  ob.setValue("pid", {$info.pid|default=0});

</script>
